<?xml version="1.0" encoding="utf-8"?>
<nodes>
{foreach from=$items item=item name=items}

<node id="{$item.id}" label="{$item.title|htmlspecialchars|stripslashes}" {if $item.thumb}thumb="/images/thumbs/{$item.thumb|stripslashes}"{/if} {if $item.picture} large="/images/large/{$item.picture|stripslashes}"{/if}>
	<![CDATA[{$item.body|stripslashes}]]>
</node>

{/foreach}
</nodes>